package com.mm.update.util;

import java.io.BufferedReader;
import java.io.FileReader;

/**
 * ClassName: FileUtil
 * Description:日志分析，找出长日志进行优化
 * date: 2024/1/18 15:17
 *
 * @author  
 * @since JDK 1.8
 */
public class FileUtil {
    public static void main(String[] args) throws Exception {
        String inputFilePath = "D:\\cookies.txt"; // 替换为实际的输入文件路径
        long a = 0;
        long b = 0;
        long c = 0;
        try (BufferedReader reader = new BufferedReader(new FileReader(inputFilePath));
        ) {
            String line;
            while ((line = reader.readLine()) != null) {
                String substring = line.substring(49, 80);
                System.out.println(substring);
            }

        } catch (Exception e) {
            e.printStackTrace();
        }

    }
}
